Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.ecm.core.management.contribs

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.management.contribs">

  <extension target="org.nuxeo.ecm.core.management.CoreManagementComponent"
    point="serviceDefinition">

    <administrableService id="org.nuxeo.ecm.instance.availability"
      name="nuxeoInstance">
      <label>Nuxeo Instance</label>
      <description>
        Indicates if the Nuxeo Instance is available or not.
      </description>
    </administrableService>

    <administrableService id="org.nuxeo.ecm.administrator.message"
      name="adminMessage">
      <label>Administrator message</label>
      <description>
        Displays a message from administrator on all pages
      </description>
      <initialState>passive</initialState>
    </administrableService>

    <administrableService id="org.nuxeo.ecm.smtp" name="smtpService">
      <label>SMTP services</label>
      <description>
        Indicates if the Nuxeo instance can send e-mails
      </description>
    </administrableService>

  </extension>

  <extension target="org.nuxeo.ecm.core.management.CoreManagementComponent"
    point="probes">

    <probe name="administrativeStatus"
      class="org.nuxeo.ecm.core.management.probes.AdministrativeStatusProbe">
      <label>Local Instance availability</label>
      <description>Test if local Nuxeo Instance is available</description>
    </probe>
    
    <probe name="runtimeStatus"
      class="org.nuxeo.ecm.core.management.statuses.RuntimeStartedProbe">
      <label>Runtime started probe</label>
      <description>Test if the runtime is started or not</description>
    </probe>
    
    <probe name="repositoryStatus"
      class="org.nuxeo.ecm.core.management.statuses.RepositoryStatusProbe">
      <label>Repository started probe</label>
      <description>Test the repository by fetching the root document</description>
    </probe>
    
  </extension>
  
   <extension target="org.nuxeo.ecm.core.management.CoreManagementComponent" point="healthCheck">
     <probe name="runtimeStatus" enabled="true"/>
     <probe name="repositoryStatus" enabled="true"/>
  </extension>

</component>